package org.yxs.es.util;

import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.serializer.SerializerFeature;

/**
 * @author: y-xs
 * @date: 2021/08/26 14:47
 * @description: 打印工具类
 */
public class PrintUtil {

    public static void prettyPrint(Object resource) {
        System.out.println(JSONObject.toJSONString(resource, SerializerFeature.PrettyFormat));
    }

}
